#include<SDL.h>
int help(SDL_Surface *screen)
 {
     SDL_Event event;



    SDL_Surface*foto=SDL_LoadBMP("img/help.bmp");
      if (!foto)
    {
        printf("Unable to load bitmap: %s\n", SDL_GetError());

    }


   while (SDL_PollEvent(&event))
{
// check for messages
switch (event.type)
{
// exit if the window is closed
case SDL_QUIT:
return(1);
break;
// check for keypresses
case SDL_KEYDOWN:
{
// exit if ESCAPE is pressed
if (event.key.keysym.sym == SDLK_ESCAPE)
return(1) ;
break;}}}


      SDL_FillRect(screen, 0, SDL_MapRGB(screen->format, 0, 0, 0));

int test = 1;
while(test)
{
//Blit the image to the backbuffer
SDL_BlitSurface(foto, NULL, screen, NULL);
//Flip the backbuffotoer to the primary Hardware Video Memory
SDL_Flip(screen);
}
SDL_FreeSurface(foto);


}

